package com.chhuang.system.consts;

public class SysConstants {
	private SysConstants(){}
	
	public static final String WX_TOKEN = "wechatToken";
	
	public static final String USER_ID = "userId";
	public static final String USERNAME = "username";
	public static final String NICKNAME = "nickname";
	public static final String PASSWORD = "password";
	public static final String PHONE = "phone";
	public static final String EMAIL = "email";
	public static final String ROLE_ID = "roleId";
	public static final String ROLE_NAME = "roleName";
	public static final String ROLE_ORDER = "roleOrder";
	public static final String MENU_ID = "menuId";
	public static final String MENU_NAME = "menuName";
	public static final String ICON = "icon";
	public static final String AS_PARENT = "asParent";
	public static final String PARENT_ID = "parentId";
	public static final String URL = "url";
	public static final String MENU_ORDER = "menuOrder";
	public static final String SONS = "sons";
	public static final String HAS_SOME_ROLES = "hasSomeRoles";
	public static final String ROLES = "roles";
	public static final String USER_ID_WIDTHOUT_ROLE = "userIdWithoutRole";
	public static final String USERNAME_WIDTHOUT_ROLE = "usernameWithoutRole";
	public static final String NICKNAME_WIDTHOUT_ROLE = "nicknameWithoutRole";
	public static final Object ROWS = "rows";
	public static final Object TOTAL = "total";
	public static final Object RESULT = "result";
	public static final Object ITEM_COUNT = "itemCount";
	public static final String AND = "and";
	public static final String OR = "or";
	
	public class Config{
		public static final String CHECK_CODE = "checkCode";
		public static final String INIT_PASSWORD = "initPassword";
		public static final String MAX_HEART_TIME = "maxHeartTime";
		public static final String MAX_WAIT_TIME = "maxWaitTime";
		public static final String MAX_OUTLINE_TIME = "maxOutlineTime";
		public static final String ADMIN_TOKEN_PATH = "adminTokenPath";
		public static final String CLIENT_TOKEN_PATH = "clientTokenPath";
		public static final String CLEAR_PUSH_SET_TIME = "clearPushSetTime";
	}
	
	public class Status{
		public static final String SUCCESS = "success";
		public static final String RESULT = "result";
	}
	
	public class Token{
		public static final String TIME = "time";
		public static final String TOKEN = "token";
	}
	
	public class Symbol{
		public static final String COMMA = ",";
		public static final String SEMICONLON = ";";
		public static final String COLON = ":";
		public static final String EMPTY_JSONARRAY = "[]";
		public static final String EMPTY_JSONOBJECT = "{}";
		public static final String NEGATIVE_ONE = "-1";
	}
	
}
